package com.github.binarywang.demo.wx.mp.service;

import com.github.binarywang.demo.wx.mp.beans.WxMpUser;
import com.github.binarywang.demo.wx.mp.mapper.wxusermapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class wxuserserviceImpl implements wxuserservice {
    @Autowired
    wxusermapper wp;
    @Override
    public List<WxMpUser> findUserByparam(String nickname, String sex,  String country,String province) {
        List<WxMpUser> users = wp.findUserByparam(nickname, sex, country,province);
        return users;
    }
}
